package com.goldcn.goods.dao;

import com.goldcn.goods.dto.GoodsSkuExtDto;
import com.goldcn.goods.dto.QueryGoodsAttrStoneDto;
import com.goldcn.goods.dto.QueryResultGoodsDto;
import com.goldcn.goods.model.GoodsAttrStone;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsAttrStoneMapper {
    int deleteByPrimaryKey(Long stoneID);

    int insert(GoodsAttrStone record);

    int insertSelective(GoodsAttrStone record);

    GoodsAttrStone selectByPrimaryKey(Long stoneID);

    int updateByPrimaryKeySelective(GoodsAttrStone record);

    int updateByPrimaryKey(GoodsAttrStone record);

    int insertBatch(@Param(value = "list") List<GoodsAttrStone> stones);

    int deleteByGoodsID(Long goodsID);

    List<QueryResultGoodsDto> selectCondition(QueryGoodsAttrStoneDto queryDto);

    List<QueryResultGoodsDto> selectShopCondition(QueryGoodsAttrStoneDto queryDto);

    List<GoodsSkuExtDto> selectHighQueryGoods(@Param(value = "list")List<String> highQueryGoods);
}